package Neko::Validator;

use strict;
use Email::Valid::Loose;

sub static_number {
    my ( $num ) = @_;

    if( $num =~ /^-?\d+$/ ){
        return 1;
    }
    else {
        return 0;
    }
}

sub strict_email {
    my ( $email ) = @_;
    return Email::Valid::Loose->address( $email );
}


1;
